/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       skill_button.h

	$Header: /game/skill_button.h $

	$NoKeywords: $

 ************************************************************************/
#ifndef SKILL_BUTTON_H_INCLUDED
#define SKILL_BUTTON_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "bitmap_group_cache.h"
#include "bitmap_group_ptr.h"

class  t_button;
struct t_screen_point;
struct t_screen_rect;
struct t_skill;
class  t_window;

extern t_bitmap_group_cache const   k_skill_frames;

void create_framed_skill( t_skill const&			skill,
						  t_screen_point const&		point,
						  t_bitmap_group_ptr const& skill_frame_bitmaps_ptr,
						  t_window*					parent );
void create_frame_button( t_button* button, t_bitmap_group_ptr const& frame_bitmaps_ptr,
						  t_bitmap_group_ptr const& child_bitmaps_ptr, std::string const& child_name );
void create_skill_button( t_button* button, t_skill const& skill, 
						  t_bitmap_group_ptr const& skill_frame_bitmaps_ptr, bool no_skill = false );

#endif // SKILL_BUTTON_H_INCLUDED
